package com.moonlit.myspring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class FirstBean {
  public static void main(String[] args) throws Exception {
    ApplicationContext context = new ClassPathXmlApplicationContext("spring-idol.xml");
    ProjectJuggler performer = (ProjectJuggler) context.getBean("poeticDuke");
    performer.perform();
  }
}
